package com.bootdo.merchant.dao;

import com.bootdo.merchant.domain.MerchantDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Desc
 * @auth xia.zhuming
 * @date 2019/11/14
 * ${tags}
 */
@Mapper
public interface MerchantDao {

    MerchantDO get(Long userId);

    List<MerchantDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    int save(MerchantDO user);

    int update(MerchantDO user);

    MerchantDO getByIdent(String ident);

    int editStatusByCreate(MerchantDO user);
}
